<div class="container">
    <div class="text-center"><a href="/marcas/agregar"><button type="button" class="btn btn-primary">Agregar</button></a></div><br>
    <table class="table table-striped table-bordered">
        
        <thead>
            <tr>
                <th>#</th>
                <th>Marca</th>
            </tr>
        </thead>
        
        <tbody>
            <?php foreach ($marcas as $marca) { ?>
            <tr>
                <td><a href="/marcas/update/<?=$marca['idMarca']?>"><?=$marca['idMarca']?></a></td>
                <td><a href="/marcas/update/<?=$marca['idMarca']?>"><?=$marca['nombre']?></a></td>
            </tr>
            <?php } ?>
        </tbody>
        
    </table>
    <div class="text-center"><a href="/marcas/agregar"><button type="button" class="btn btn-primary">Agregar</button></a></div>
</div>